/**
 * 
 */
package com.sicocre.business.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sicocre.beans.Cliente;
import com.sicocre.business.dao.IClienteDao;
import com.sicocre.business.service.IClienteService;

/**
 * @author malmanza
 *
 */

@Service
public class ClienteServiceImpl implements IClienteService {

	@Autowired
	private IClienteDao clienteDao;
	

	
	/**
	 * @param clienteDao the clienteDao to set
	 */
	public void setClienteDao(IClienteDao clienteDao) {
		this.clienteDao = clienteDao;
	}
	
	/* (non-Javadoc)
	 * @see com.sicocre.business.service.IClienteService#insertCliente(com.sicocre.beans.Cliente)
	 */
	public boolean insertCliente(Cliente cliente) {
		// TODO Auto-generated method stub
		return clienteDao.insertar(cliente) > 0;
	}



}
